#ifndef __NJGIS_INJDATA_H__
#define __NJGIS_INJDATA_H__

#include <string>
#include "INxService.h"

namespace NJGIS
{
    namespace SERVICE
    {
        //! type of data
        typedef enum
        {
			DAT_UNKNOWN = 0,
            DAT_RAW = 1,
            DAT_XML = 2,
            DAT_ZIP = 3
        } NjDataType;

        class INjData : public virtual INjService
        {
        public:
            virtual int isExist() = 0;
            
            virtual const char* getID() = 0;

            virtual const char* getTag() = 0;

            virtual const char* getGenarationDateTime() = 0;

            virtual NJGIS::SERVICE::NjDataType getType() = 0;

            virtual int getSize() = 0;

            virtual const char* getValue() = 0;

            virtual int saveAs(const char* path) = 0;
        };
    }
}

#endif